package  
{
	import qnx.views.UIView;
	
	import flash.display.Bitmap;
	import flash.events.Event;
	
	/**
	 * @author juliandolce
	 */
	public class BaseView extends UIView
	{
		private var bg:Bitmap;
		
		public function BaseView()
		{
			init();
		}
		
		protected function init():void
		{
			addEventListener( Event.ADDED_TO_STAGE, onAddedEvent );
			
		}
		
		
		private function onAddedEvent(event:Event):void 
		{
			removeEventListener( Event.ADDED_TO_STAGE, onAdded );
			onAdded();
		}
		
		protected function onAdded():void{}
		
	}
}